package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 部门对象 deivce_type
 * 
 * @author ruoyi
 * @date 2020-09-03
 */
public class DeviceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备类型id */
    private Long deviceTypeId;

    /** 设备类型名称 */
    @Excel(name = "设备类型名称")
    private String devTypeName;

    /** 设备标识名/英文名 */
    @Excel(name = "设备标识名/英文名")
    private String deviceTypeFun;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 图标 */
    @Excel(name = "图标")
    private String iconpick;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setDeviceTypeId(Long deviceTypeId) 
    {
        this.deviceTypeId = deviceTypeId;
    }

    public Long getDeviceTypeId() 
    {
        return deviceTypeId;
    }
    public void setDevTypeName(String devTypeName) 
    {
        this.devTypeName = devTypeName;
    }

    public String getDevTypeName() 
    {
        return devTypeName;
    }
    public void setDeviceTypeFun(String deviceTypeFun) 
    {
        this.deviceTypeFun = deviceTypeFun;
    }

    public String getDeviceTypeFun() 
    {
        return deviceTypeFun;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setIconpick(String iconpick) 
    {
        this.iconpick = iconpick;
    }

    public String getIconpick() 
    {
        return iconpick;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceTypeId", getDeviceTypeId())
            .append("devTypeName", getDevTypeName())
            .append("deviceTypeFun", getDeviceTypeFun())
            .append("unit", getUnit())
            .append("iconpick", getIconpick())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
